package org.smile.design.flyweight;

public class Application {
    public static void main(String[] args) {
        MemberCenter memberCenter = new MemberCenter();
        Member m1 = memberCenter.obtainMember(1);
        Member m2 = memberCenter.obtainMember(2);
        Member m3 = memberCenter.obtainMember(3);
        Member m4 = memberCenter.obtainMember(1);

        m1.print();
        m2.print();
        m3.print();
        m4.print();
    }
}
